package com.yand.spring.DesignPrinciples.liskovSubstitutionPrinciple.afterImprovement;

public class Rectangle implements Quadrangle {

    private long with;

    private long height;


    public void setWith(long with) {
        this.with = with;
    }

    public void setHeight(long height) {
        this.height = height;
    }

    @Override
    public long getWith() {
        return with;
    }

    @Override
    public long getHeight() {
        return height;
    }
}
